//Design By Do Trung --- Email : trungqn19852003@yahoo.com
//Ngày Design :09/12/2011 4:57:03 PM
using System;
using System.Data;
using System.Text;
using System.Linq;
using System.Collections.Generic;
using Data=VietStar.Library.Data;
using Entity = VietStar.Library.Entity;
namespace VietStar.Library.Business
{
	/// <summary>
	/// </summary>
	public class HoaDon
	{
		public HoaDon() {}
		Data.HoaDon hoadon= new Data.HoaDon();
		public bool Insert(Entity.HoaDon entity)
		{
		return hoadon.Insert(entity);
		}
		public DataTable SelectMaxId(Entity.HoaDon entity)
		{
            return hoadon.SelectMaxId();
		}
        public DataTable Select_AllHoaDon(Entity.HoaDon entity)
        {
            return hoadon.Select_AllHoaDon();
        }		
        public DataTable SelectTimKiem(Entity.HoaDon entity)
        {
            return hoadon.SelectTimKiem(entity);
        }
        public DataTable Select_HoaDon_Primarykey(Entity.HoaDon entity)
        {
            return hoadon.Select_HoaDon_PrimaryKey(entity);
        }
		public bool Update(Entity.HoaDon entity)
		{
			return hoadon.Update(entity);
		}
		public bool Delete(Entity.HoaDon entity)
		{
			return hoadon.Delete(entity);
		}
        public bool Update_TrangThai(Entity.HoaDon entity)
        {
            return hoadon.Update_TrangThai(entity);
        }
	}
}
